<div xmlns:th="http://www.thymeleaf.org">
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <title>全球新型冠状病毒实时数据统计</title>
    <meta name="keywords" content="酒店" />
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <!-- basic styles -->

    <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="assets/css/font-awesome.min.css" />
    <link rel="stylesheet" href="css/style.css" />
    <!--[if IE 7]>
    <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
    <![endif]-->

    <!-- page specific plugin styles -->

    <!-- fonts -->
    <link rel="stylesheet" href="assets/css/ace-fonts.css" />
    <!-- ace styles -->
    <link rel="stylesheet" href="assets/css/ace.css" class="ace-main-stylesheet" id="main-ace-style" />
    <link rel="stylesheet" href="assets/css/ace.min.css" />
    <link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
    <link rel="stylesheet" href="assets/css/ace-skins.min.css" />

    <!--[if lte IE 8]>
    <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
    <![endif]-->

    <!-- inline styles related to this page -->

    <!-- ace settings handler -->

    <script src="assets/js/ace-extra.min.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

    <!--[if lt IE 9]>
    <script src="assets/js/html5shiv.js"></script>
    <script src="assets/js/respond.min.js"></script>
    <![endif]-->
</head>

<body>
<!--
*
*
*内部内容容器BEGIN
*w
*
-->
<div class="text" >

    全球总病例数 <h1 th:text="${totalReported}"></h1>
    增长病例数 <h1 th:text="${totalnewcases}"></h1>

</div>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try{ace.settings.check('main-container' , 'fixed')}catch(e){}
    </script>

    <div class="main-container-inner">
        <a class="menu-toggler" id="menu-toggler" href="#">
            <span class="menu-text"></span>
        </a>
        <!--
        *
        *
        *内容区BEGIN
        *
        *
        -->
        <div class="main-content">
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->

                        <!-- 员工管理Begin-->
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="table-header">全球新型冠状病毒实时数据统计
                                </div>
                                <div>
                                    <table id="sample-table-2" class="table table-striped table-bordered table-hover">
                                        <thead>
                                        <tr>
                                            <th width="11%">国家</th>
                                            <th width="10%">
                                                <i class="ace-icon fa fa-clock-o bigger-110 hidden-480"></i>
                                                地区</th>
                                            <th width="11%" class="hidden-480">较昨日增长人数</th>


                                            <th width="7%">总病例人数</th>
                                        </tr>
                                        </thead>

                                        <tbody>
                                        <tr th:each="list1 : ${list}">
                                            <td style="text-align:center;" th:text="${list1.country}"></td>
                                            <td style="text-align:center;" th:text="${list1.state}"></td>
                                            <td style="text-align:center;" th:text="${list1.differentday}"></td>
                                            <td style="text-align:center;" th:text="${list1.lastestCases}"></td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>		<!-- PAGE CONTENT ENDS -->
                        </div><!-- /.col -->
                    </div><!-- /.row -->
                </div><!-- /.page-content -->
            </div><!-- /.main-content -->
        </div><!-- /.main-container-inner -->
        <!--
       *
       *
       *内部内容容器END
       *
       *
        -->
        <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
            <i class="icon-double-angle-up icon-only bigger-110"></i>
        </a>
    </div><!-- /.main-container -->

    <!-- basic scripts -->
    <!--[if !IE]> -->
    <script type="text/javascript">
        window.jQuery || document.write("<script src='assets/js/jquery.js'>"+"<"+"/script>");
    </script>

    <!-- <![endif]-->

    <!--[if IE]>
    <script type="text/javascript">
        window.jQuery || document.write("<script src='assets/js/jquery1x.js'>"+"<"+"/script>");
    </script>
    <![endif]-->
    <script type="text/javascript">
        if('ontouchstart' in document.documentElement) document.write("<script src='assets/js/jquery.mobile.custom.js'>"+"<"+"/script>");
    </script>
    <script src="assets/js/bootstrap.js"></script>

    <!-- page specific plugin scripts -->
    <script src="assets/js/jquery.dataTables.js"></script>
    <script src="assets/js/jquery.dataTables.bootstrap.js"></script>

    <!-- ace scripts -->
    <script src="assets/js/ace-elements.min.js"></script>
    <script src="assets/js/ace.min.js"></script>


    <!-- inline scripts related to this page -->
    <script type="text/javascript">
        jQuery(function($) {
            var oTable1 =
                $('#sample-table-2')

                    .dataTable( {
                        bAutoWidth: false,
                        "aoColumns": [
                            { "bSortable": false },
                            null, null,null, null, null,
                            { "bSortable": false }
                        ],
                        "aaSorting": [],
                    } );
            /**
             var tableTools = new $.fn.dataTable.TableTools( oTable1, {
					"sSwfPath": "copy_csv_xls_pdf.swf",
			        "buttons": [
			            "copy",
			            "csv",
			            "xls",
						"pdf",
			            "print"
			        ]
			    } );
             $( tableTools.fnContainer() ).insertBefore('#sample-table-2');
             */


            //oTable1.fnAdjustColumnSizing();


            $(document).on('click', 'th input:checkbox' , function(){
                var that = this;
                $(this).closest('table').find('tr > td:first-child input:checkbox')
                    .each(function(){
                        this.checked = that.checked;
                        $(this).closest('tr').toggleClass('selected');
                    });
            });


            $('[data-rel="tooltip"]').tooltip({placement: tooltip_placement});
            function tooltip_placement(context, source) {
                var $source = $(source);
                var $parent = $source.closest('table')
                var off1 = $parent.offset();
                var w1 = $parent.width();

                var off2 = $source.offset();
                //var w2 = $source.width();

                if( parseInt(off2.left) < parseInt(off1.left) + parseInt(w1 / 2) ) return 'right';
                return 'left';
            }

        })
    </script>

    <!-- the following scripts are used in demo only for onpage help and you don't need them -->
    <link rel="stylesheet" href="assets/css/ace.onpage-help.css" />
    <link rel="stylesheet" href="docs/assets/js/themes/sunburst.css" />

    <script type="text/javascript"> ace.vars['base'] = '..'; </script>
    <script src="assets/js/ace/elements.onpage-help.js"></script>
    <script src="assets/js/ace/ace.onpage-help.js"></script>
    <script src="docs/assets/js/rainbow.js"></script>
    <script src="docs/assets/js/language/generic.js"></script>
    <script src="docs/assets/js/language/html.js"></script>
    <script src="docs/assets/js/language/css.js"></script>
    <script src="docs/assets/js/language/javascript.js"></script>
</body>
</html>
</div>
